package com.knowledge.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication(scanBasePackages = {
        "com.knowledge.serve",
        "com.knowledge.db",
        "com.knowledge.model",
        "com.knowledge.common",
        "com.knowledge.web"
})
@MapperScan(basePackages = "com.knowledge.db")
public class KnowledgeWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(KnowledgeWebApplication.class, args);
    }

}
